- @no_container = true
= render "admin/dashboard/head"

%div{ class: container_class }
  - if @cohorts
    = render 'cohorts_table'
    = render 'usage_ping'
  - else
    .bs-callout.bs-callout-warning.clearfix
      %p
        User cohorts are only shown when the
        = link_to 'usage ping', help_page_path('user/admin_area/settings/usage_statistics', anchor: 'usage-ping'), target: '_blank'
        is enabled. To enable it and see user cohorts,
        visit
        = succeed '.' do
          = link_to 'application settings', admin_application_settings_path(anchor: 'usage-statistics')
